<?php

namespace App\Console\Commands;

use App\Models\WaterBillOrder;
use Illuminate\Console\Command;

class BillClear extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'bill:clear';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Display an inspiring quote';

    public function __construct(WaterBillOrder $waterBillOrder)
    {
        parent::__construct();
        $this->waterBillOrder = $waterBillOrder;
    }

    /**
     * Execute the console command.
     *
     * @return mixed
     */
    public function handle()
    {
          $this->waterBillOrder->clear();
    }
}
